fix: eval parameters omit null description - #613
Merged
Abhijeet Prasad (AbhiPrasad) merged 3 commits intoJul 29, 2026
Merged
Conversation
Contributor
Author
|
Forgot to mention the linear: |
Abhijeet Prasad (AbhiPrasad)
approved these changes
Jul 29, 2026
Abhijeet Prasad (AbhiPrasad)
enabled auto-merge (squash)
July 29, 2026 13:34
Abhijeet Prasad (AbhiPrasad)
force-pushed
the
fix-eval-parameters-omit-null-description
branch
from
July 29, 2026 14:52
0ea256a to
6b0c0ce
Compare
Abhijeet Prasad (AbhiPrasad)
disabled auto-merge
July 29, 2026 14:54
Abhijeet Prasad (AbhiPrasad)
enabled auto-merge (squash)
July 29, 2026 14:55
Abhijeet Prasad (AbhiPrasad)
deleted the
fix-eval-parameters-omit-null-description
branch
July 29, 2026 15:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves https://linear.app/braintrustdata/issue/SDK-92/remote-eval-params-with-no-description-serialize-description-null
Summary
Remote eval dev mode (
braintrust eval <file> --dev) hid all evals in the playground UI when any eval declared a parameter without adescription.All three branches of
serialize_eval_parameters(prompt, model, data) emitted"description": nullwhen unset. The playground's zod schema only accepts a string or an absent key, and it validates the whole/listresponse in onesafeParse— so one description-less parameter hid every eval on the endpoint.Fix: include
descriptiononly when it's notNone, same asdefaultalready is. #508 fixed this pattern for prompt defaults;descriptionwas missed.Test
With proposed change the remote eval is detected:

Same remote eval running in 0.30.1 is not detected:
